<!-- Generated template for the SetSizeComponent component -->
<div class="pop-setSize">
    <div class="sizes">
      <ul>
        <li *ngFor="let s of sizes; let i=index"  (click)="onChooseSize(i)">
          <span>{{s.w}}(宽)x{{s.h}}(高)</span>
          <img [src]="s.checked ? 'assets/imgs/xuanzhong1.png' : 'assets/imgs/xuanzhong.png'">
        </li>
      </ul>
    </div>
    <div class="custom-size" (click)="onChoosedCustomeSize()">
      <p>自定义</p>
      <div class="w-h">
        <div class="w">
          <input #w type="number" placeholder="0" (keyup)="onKeyW(w.value)"><span>X</span>
        </div>
        <div class="h">
          <input #h type="number" placeholder="0" (keyup)="onKeyH(h.value)"><span></span>
        </div>
      </div>
      <img [src]="customSize.checked ? 'assets/imgs/xuanzhong1.png' : 'assets/imgs/xuanzhong.png'">
    </div>
    <div class="ok-setSize" (click)="onSetSize()">确定</div>
</div>
